﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Dtos;
using Volo.Abp.DependencyInjection;

namespace Himp.Outpatient
{
    public class OtpSettingsController : ITransientDependency
    {
        /// <summary>
        /// 门诊挂号类别
        /// </summary>
        private readonly IOtpRgstTypeService _otpRgstTypeService;
        private readonly IOtpOperRmService _otpConsultRmService;

        public OtpSettingsController(IOtpOperRmService otpConsultRmService, IOtpRgstTypeService otpRgstTypeService)
        {
            _otpConsultRmService = otpConsultRmService;
            _otpRgstTypeService = otpRgstTypeService;
        }

        public async Task<PagedResultDto<OtpOperRmDto>> GetOtpConsultRmListAsync(OtpOperRmInput input)
        {
            var list = await _otpConsultRmService.GetListAsync(input);

            return list;
        }

        public async Task<PagedResultDto<OtpRgstTypeDto>> GetOtpRgstTypeListAsync(OtpRgstTypeInput input)
        {
            var list = await _otpRgstTypeService.GetListAsync(input);

            return list;
        }
    }
}
